ComposeRequest.fromJson constructor
ComposeRequest.fromJson(
- Map json_
Implementation
ComposeRequest.fromJson(core.Map json_)
: this(
destination: json_.containsKey('destination')
? Object.fromJson(
json_['destination'] as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
sourceObjects: json_.containsKey('sourceObjects')
? (json_['sourceObjects'] as core.List)
.map((value) => ComposeRequestSourceObjects.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);