UpdatePriorityDetails.fromJson constructor

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

Implementation

factory UpdatePriorityDetails.fromJson(Map<String, Object?> json) {
  return UpdatePriorityDetails(
    description: json[r'description'] as String?,
    iconUrl: json[r'iconUrl'] != null
        ? UpdatePriorityDetailsIconUrl.fromValue(json[r'iconUrl']! as String)
        : null,
    name: json[r'name'] as String?,
    statusColor: json[r'statusColor'] as String?,
  );
}