toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = <String, dynamic>{};
  data['id'] = id;
  data['email'] = email;
  data['address'] = address;
  data['device_price'] = devicePrice;
  data['app_name'] = appName;
  data['app_id'] = appId;
  data['created_at'] = createdAt;
  data['updated_at'] = updatedAt;
  data['key_serial'] = serialNumber;
  return data;
}