GetAccountsResponse.fromJson constructor
GetAccountsResponse.fromJson(
- Object? json
Implementation
factory GetAccountsResponse.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return GetAccountsResponse(
data: (map['data'] as List<Object?>)
.map((el) => Account.fromJson(el))
.toList(),
hasMore: (map['has_more'] as bool),
url: (map['url'] as String),
);
}