IssueBean.fromJson constructor
Implementation
factory IssueBean.fromJson(Map<String, Object?> json) {
return IssueBean(
expand: json[r'expand'] as String?,
id: json[r'id'] as String?,
self: json[r'self'] as String?,
key: json[r'key'] as String?,
renderedFields: json[r'renderedFields'] as Map<String, Object?>?,
properties: json[r'properties'] as Map<String, Object?>?,
names: json[r'names'] as Map<String, Object?>?,
schema: json[r'schema'] as Map<String, Object?>?,
transitions: (json[r'transitions'] as List<Object?>?)
?.map((i) => IssueBeanTransitionsItem.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
operations: json[r'operations'] != null
? Operations.fromJson(json[r'operations']! as Map<String, Object?>)
: null,
editmeta: json[r'editmeta'] as Map<String, Object?>?,
changelog: json[r'changelog'] as Map<String, Object?>?,
versionedRepresentations:
json[r'versionedRepresentations'] as Map<String, Object?>?,
fieldsToInclude: json[r'fieldsToInclude'] != null
? IssueBeanFieldsToInclude.fromJson(
json[r'fieldsToInclude']! as Map<String, Object?>)
: null,
fields: json[r'fields'] as Map<String, Object?>?,
);
}