CreatedIssue.fromJson constructor

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

Implementation

factory CreatedIssue.fromJson(Map<String, Object?> json) {
  return CreatedIssue(
    id: json[r'id'] as String?,
    key: json[r'key'] as String?,
    self: json[r'self'] as String?,
    transition: json[r'transition'] != null
        ? NestedResponse.fromJson(
            json[r'transition']! as Map<String, Object?>)
        : null,
    watchers: json[r'watchers'] != null
        ? NestedResponse.fromJson(json[r'watchers']! as Map<String, Object?>)
        : null,
  );
}