LabelCreate.fromJson constructor

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

Implementation

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