Label.fromJson constructor

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

Implementation

factory Label.fromJson(Map<String, Object?> json) {
  return Label(
    prefix: json[r'prefix'] as String? ?? '',
    name: json[r'name'] as String? ?? '',
    id: json[r'id'] as String? ?? '',
    label: json[r'label'] as String? ?? '',
  );
}