toMap method Null safety
Implementation
Map<String, dynamic> toMap() {
return _updatedFields.isEmpty
? {}
: {
'requestList': _updatedFields.keys.toList(),
..._updatedFields,
};
}
Map<String, dynamic> toMap() {
return _updatedFields.isEmpty
? {}
: {
'requestList': _updatedFields.keys.toList(),
..._updatedFields,
};
}