ListResponse.fromJson constructor
ListResponse.fromJson(
- Map json_
Implementation
ListResponse.fromJson(core.Map json_)
: this(
debugString: json_.containsKey('debugString')
? json_['debugString'] as core.String
: null,
errorCode: json_.containsKey('errorCode')
? (json_['errorCode'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
maxAge: json_.containsKey('maxAge')
? json_['maxAge'] as core.String
: null,
statements: json_.containsKey('statements')
? (json_['statements'] as core.List)
.map((value) => Statement.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);