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