setField method
Sets the field with name key
to the given value
Returns true if successful and false if the key
doesn't exist.
Implementation
@override
bool setField(String key, dynamic value) {
if (!getterSetterMap.containsKey(key)) {
return false;
}
getterSetterMap[key]!.item2(value);
return true;
}