Label.fromJson constructor

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

Implementation

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