toJson method

Map<String, dynamic> toJson()

Implementation

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