// GENERATED CODE - DO NOT MODIFY BY HAND part of 'with_enum.dart'; // ************************************************************************** // Generator: JsonModelGenerator // ************************************************************************** class WithEnum implements _WithEnum { const WithEnum({this.type, List this.finalList}); @override final WithEnumType type; @override final List finalList; WithEnum copyWith({WithEnumType type, List finalList}) { return new WithEnum( type: type ?? this.type, finalList: finalList ?? this.finalList); } bool operator ==(other) { return other is _WithEnum && other.type == type && const ListEquality(const DefaultEquality()) .equals(other.finalList, finalList); } Map toJson() { return WithEnumSerializer.toMap(this); } }