protocolName method
Read model action protocol name.
Implementation
String? protocolName(ModelMapping mapping) {
final json = mapping.toJson();
final action = json[name];
if (action is String) return action;
return null;
}
Read model action protocol name.
String? protocolName(ModelMapping mapping) {
final json = mapping.toJson();
final action = json[name];
if (action is String) return action;
return null;
}