ListNamespacesResponse.fromJson constructor
Implementation
factory ListNamespacesResponse.fromJson(Map<String, dynamic> json) {
return ListNamespacesResponse(
namespaces: (json['Namespaces'] as List?)
?.whereNotNull()
.map((e) => NamespaceInfoV2.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
requestId: json['RequestId'] as String?,
);
}