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