ProvinceList class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true, checked: true)
Constructors
-
ProvinceList({required List<
Province> items, required int totalItems}) -
ProvinceList.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasItems → bool
-
Available on ProvinceList, provided by the ProvinceListPropertyHelpers extension
no setter -
items
→ List<
Province> -
final
- noItems → bool
-
Available on ProvinceList, provided by the ProvinceListPropertyHelpers extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalItems → int
-
final
Methods
-
compareToProvinceList(
ProvinceList other) → Map< String, dynamic> -
Available on ProvinceList, provided by the ProvinceListCompareE extension
-
copyWith(
{List< Province> ? items, int? totalItems}) → ProvinceList -
copyWithField<
T> (Field< ProvinceList, T> field, T value) → ProvinceList -
Returns a copy of this entity with
fieldset tovalue. -
copyWithProvinceList(
{List< Province> ? items, int? totalItems}) → ProvinceList -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patchWithProvinceList(
[ProvinceListPatch? patchInput]) → ProvinceList -
toJson(
) → Map< String, dynamic> -
Available on ProvinceList, provided by the ProvinceListSerialization extension
-
toJsonLean(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override