Language.fromMap constructor

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

Implementation

factory Language.fromMap(Map<String, dynamic> map) {
  return Language(
    name: map['name'].toString(),
    code: map['code'].toString(),
    nativeName: map['nativeName'].toString(),
  );
}