IssueFieldOptionConfiguration.fromJson constructor

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

Implementation

factory IssueFieldOptionConfiguration.fromJson(Map<String, Object?> json) {
  return IssueFieldOptionConfiguration(
    attributes: (json[r'attributes'] as List<Object?>?)
            ?.map((i) => IssueFieldOptionConfigurationAttributes.fromValue(
                i as String? ?? ''))
            .toList() ??
        [],
    scope: json[r'scope'] != null
        ? IssueFieldOptionScopeBean.fromJson(
            json[r'scope']! as Map<String, Object?>)
        : null,
  );
}