toMap method

Map<String, dynamic> toMap()

Converts the NiubizConfigModel instance to a map.

Returns a map representation of the instance, with keys corresponding to the field names and values corresponding to the field values.

Implementation

Map<String, dynamic> toMap() {
  return {
    "userName": userName,
    "password": password,
    "merchantId": merchantId,
    "isProduction": isProduction,
    "titleBrand": titleBrand,
    "name": name,
    "lastName": lastName,
    "email": email,
  };
}