Priority.fromJson constructor
Implementation
factory Priority.fromJson(Map<String, Object?> json) {
return Priority(
description: json[r'description'] as String?,
iconUrl: json[r'iconUrl'] as String?,
id: json[r'id'] as String?,
isDefault: json[r'isDefault'] as bool? ?? false,
name: json[r'name'] as String?,
self: json[r'self'] as String?,
statusColor: json[r'statusColor'] as String?,
);
}