StatusCategory.fromJson constructor

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

Implementation

factory StatusCategory.fromJson(Map<String, Object?> json) {
  return StatusCategory(
    self: json[r'self'] as String?,
    id: (json[r'id'] as num?)?.toInt(),
    key: json[r'key'] as String?,
    colorName: json[r'colorName'] as String?,
    name: json[r'name'] as String?,
  );
}