PageBeanCustomFieldContext.fromJson constructor
Implementation
factory PageBeanCustomFieldContext.fromJson(Map<String, Object?> json) {
return PageBeanCustomFieldContext(
isLast: json[r'isLast'] as bool? ?? false,
maxResults: (json[r'maxResults'] as num?)?.toInt(),
nextPage: json[r'nextPage'] as String?,
self: json[r'self'] as String?,
startAt: (json[r'startAt'] as num?)?.toInt(),
total: (json[r'total'] as num?)?.toInt(),
values: (json[r'values'] as List<Object?>?)
?.map((i) => CustomFieldContext.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}