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