IssueTransition.fromJson constructor
Implementation
factory IssueTransition.fromJson(Map<String, Object?> json) {
return IssueTransition(
expand: json[r'expand'] as String?,
fields: json[r'fields'] as Map<String, Object?>?,
hasScreen: json[r'hasScreen'] as bool? ?? false,
id: json[r'id'] as String?,
isAvailable: json[r'isAvailable'] as bool? ?? false,
isConditional: json[r'isConditional'] as bool? ?? false,
isGlobal: json[r'isGlobal'] as bool? ?? false,
isInitial: json[r'isInitial'] as bool? ?? false,
looped: json[r'looped'] as bool? ?? false,
name: json[r'name'] as String?,
to: json[r'to'] != null
? StatusDetails.fromJson(json[r'to']! as Map<String, Object?>)
: null,
);
}