IssueBeanTransitionsItem.fromJson constructor

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

Implementation

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