GetResourceSharesResponse.fromJson constructor
Implementation
factory GetResourceSharesResponse.fromJson(Map<String, dynamic> json) {
return GetResourceSharesResponse(
nextToken: json['nextToken'] as String?,
resourceShares: (json['resourceShares'] as List?)
?.whereNotNull()
.map((e) => ResourceShare.fromJson(e as Map<String, dynamic>))
.toList(),
);
}