toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final phoneNumber = this.phoneNumber;
  final type = this.type;
  return {'phoneNumber': ?phoneNumber, 'type': ?type};
}