fromMap static method

SetLogTagVerbosityLevel? fromMap(
  1. Map<String, dynamic>? _map
)
override

Construct from Map.

Implementation

static SetLogTagVerbosityLevel? fromMap(Map<String, dynamic>? _map) {
  if (_map == null) return null;
  var _ = _map["@type"];
  if (_ != CONSTRUCTOR) return null;
  var extra = _map['@extra'];
  var clientId = _map['@clientId'];
  var tag = _map['tag']! as String;
  var new_verbosity_level = _map['new_verbosity_level']! as int;
  return SetLogTagVerbosityLevel(
    extra: extra,
    clientId: clientId,
    tag: tag,
    new_verbosity_level: new_verbosity_level,
  );
}