// GENERATED CODE - DO NOT MODIFY BY HAND part of 'game_pad.dart'; // ************************************************************************** // JsonModelGenerator // ************************************************************************** @generatedSerializable class Gamepad implements _Gamepad { const Gamepad( {List this.buttons, Map this.dynamicMap}); @override final List buttons; @override final Map dynamicMap; Gamepad copyWith( {List buttons, Map dynamicMap}) { return new Gamepad( buttons: buttons ?? this.buttons, dynamicMap: dynamicMap ?? this.dynamicMap); } bool operator ==(other) { return other is _Gamepad && const ListEquality( const DefaultEquality()) .equals(other.buttons, buttons) && const MapEquality( keys: const DefaultEquality(), values: const DefaultEquality()) .equals(other.dynamicMap, dynamicMap); } Map toJson() { return GamepadSerializer.toMap(this); } }