toJson method
Returns a Json i.e. Map<String, dynamic>
representation of the BaseModel.
Implementation
@override
Map<String, dynamic> toJson({
bool includeNulls = false,
}) {
return includeNulls ? _data : _data.nonNulls;
}
Returns a Json i.e. Map<String, dynamic>
representation of the BaseModel.
@override
Map<String, dynamic> toJson({
bool includeNulls = false,
}) {
return includeNulls ? _data : _data.nonNulls;
}