Map<String, dynamic> toMap() { return NameModelMapper.ensureInitialized() .encodeMap<NameModel>(this as NameModel); }