// GENERATED CODE - DO NOT MODIFY BY HAND part of 'game_pad.dart'; // ************************************************************************** // JsonModelGenerator // ************************************************************************** @generatedSerializable class Gamepad extends _Gamepad { Gamepad({List buttons, Map dynamicMap}) : this.buttons = new List.unmodifiable(buttons ?? []), this.dynamicMap = new Map.unmodifiable(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); } }