toMap method

Map<String, dynamic> toMap()

Convert this model to a Map using the same keys expected by fromJson.

Implementation

Map<String, dynamic> toMap() => {
  'uid': uid,
  'userName': username,
  'countryCode': countryCode,
  'email': email,
  'regionCode': regionCode,
  'phoneNumber': phoneNumber,
  'snsNickname': nickname,
  'headIconUrl': headIconUrl,
  'tempUnit': tempUnit,
  'timezoneId': timezoneId,
  'regFrom': regFrom,
};