MessageEvent.fromJson constructor
MessageEvent.fromJson(
- Map json_
Implementation
MessageEvent.fromJson(core.Map json_)
: this(
compressedSizeBytes: json_.containsKey('compressedSizeBytes')
? json_['compressedSizeBytes'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
uncompressedSizeBytes: json_.containsKey('uncompressedSizeBytes')
? json_['uncompressedSizeBytes'] as core.String
: null,
);