StructuredMessage.fromJson constructor
StructuredMessage.fromJson(
- Map json_
Implementation
StructuredMessage.fromJson(core.Map json_)
: this(
messageKey: json_.containsKey('messageKey')
? json_['messageKey'] as core.String
: null,
messageText: json_.containsKey('messageText')
? json_['messageText'] as core.String
: null,
parameters: json_.containsKey('parameters')
? (json_['parameters'] as core.List)
.map((value) => Parameter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);