fromMap static method
override
Construct from Map.
Implementation
static LogStreamFile? 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 path = _map['path']! as String;
var max_file_size = _map['max_file_size']! as int;
var redirect_stderr = _map['redirect_stderr']! as bool;
return LogStreamFile(
extra: extra,
clientId: clientId,
path: path,
max_file_size: max_file_size,
redirect_stderr: redirect_stderr,
);
}