ProjectType.fromJson constructor

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

Implementation

factory ProjectType.fromJson(Map<String, Object?> json) {
  return ProjectType(
    color: json[r'color'] as String?,
    descriptionI18nKey: json[r'descriptionI18nKey'] as String?,
    formattedKey: json[r'formattedKey'] as String?,
    icon: json[r'icon'] as String?,
    key: json[r'key'] as String?,
  );
}