AppMessenger.fromMap constructor
AppMessenger.fromMap(
- Map map
Implementation
factory AppMessenger.fromMap(Map map) {
final type = _getType(
map['type'],
);
if (type == null) {
throw ArgumentError('The required type value is missing');
}
return AppMessenger(
appName: map['app_name'],
type: type,
);
}