CustomFieldValueUpdate.fromJson constructor

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

Implementation

factory CustomFieldValueUpdate.fromJson(Map<String, Object?> json) {
  return CustomFieldValueUpdate(
    issueIds: (json[r'issueIds'] as List<Object?>?)
            ?.map((i) => (i as num?)?.toInt() ?? 0)
            .toList() ??
        [],
    value: json[r'value'],
  );
}