SimpleListWrapperGroupName.fromJson constructor
Implementation
factory SimpleListWrapperGroupName.fromJson(Map<String, Object?> json) {
return SimpleListWrapperGroupName(
callback: json[r'callback'] != null
? ListWrapperCallbackGroupName.fromJson(
json[r'callback']! as Map<String, Object?>)
: null,
items: (json[r'items'] as List<Object?>?)
?.map((i) =>
GroupName.fromJson(i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
maxResults: (json[r'max-results'] as num?)?.toInt(),
pagingCallback: json[r'pagingCallback'] != null
? ListWrapperCallbackGroupName.fromJson(
json[r'pagingCallback']! as Map<String, Object?>)
: null,
size: (json[r'size'] as num?)?.toInt(),
);
}