IssueUpdateDetails.fromJson constructor

IssueUpdateDetails.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory IssueUpdateDetails.fromJson(Map<String, Object?> json) {
  return IssueUpdateDetails(
    fields: json[r'fields'] as Map<String, Object?>?,
    historyMetadata: json[r'historyMetadata'] != null
        ? HistoryMetadata.fromJson(
            json[r'historyMetadata']! as Map<String, Object?>)
        : null,
    properties: (json[r'properties'] as List<Object?>?)
            ?.map((i) => EntityProperty.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
    transition: json[r'transition'] != null
        ? IssueTransition.fromJson(
            json[r'transition']! as Map<String, Object?>)
        : null,
    update: json[r'update'] as Map<String, Object?>?,
  );
}