ListObjectParentsResponse.fromJson constructor
ListObjectParentsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ListObjectParentsResponse.fromJson(Map<String, dynamic> json) {
return ListObjectParentsResponse(
nextToken: json['NextToken'] as String?,
parentLinks: (json['ParentLinks'] as List?)
?.whereNotNull()
.map((e) => ObjectIdentifierAndLinkNameTuple.fromJson(
e as Map<String, dynamic>))
.toList(),
parents: (json['Parents'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}