TranslationValue.fromMap constructor

TranslationValue.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory TranslationValue.fromMap(Map<String, dynamic> map) {
  return TranslationValue(
    value: map['value'] as String,
    plural: map['plural'] != null ? map['plural'] as String : null,
    none: map['none'] != null ? map['none'] as String : null,
  );
}