PageOfChangelogsHistoriesItem.fromJson constructor
Implementation
factory PageOfChangelogsHistoriesItem.fromJson(Map<String, Object?> json) {
return PageOfChangelogsHistoriesItem(
id: json[r'id'] as String?,
author: json[r'author'] as Map<String, Object?>?,
created: DateTime.tryParse(json[r'created'] as String? ?? ''),
items: (json[r'items'] as List<Object?>?)
?.map((i) => PageOfChangelogsHistoriesItemItemsItem.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
historyMetadata: json[r'historyMetadata'] as Map<String, Object?>?,
);
}