toJson method
Converts the AirtableRecord instance to a JSON map.
Returns a map that can be serialized to JSON, containing the id
and fields
.
Implementation
Map<String, dynamic> toJson() {
return {
'id': id,
'fields': fields,
};
}
Converts the AirtableRecord instance to a JSON map.
Returns a map that can be serialized to JSON, containing the id
and fields
.
Map<String, dynamic> toJson() {
return {
'id': id,
'fields': fields,
};
}