Transitions.fromJson constructor

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

Implementation

factory Transitions.fromJson(Map<String, Object?> json) {
  return Transitions(
    expand: json[r'expand'] as String?,
    transitions: (json[r'transitions'] as List<Object?>?)
            ?.map((i) => IssueTransition.fromJson(
                i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}