fromMap static method
Gets a possible ConsoleMessage instance from a Map value.
Implementation
static ConsoleMessage? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = ConsoleMessage();
instance.message = map['message'];
instance.messageLevel =
ConsoleMessageLevel.fromNativeValue(map['messageLevel'])!;
return instance;
}