toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "fname": firstName,
      "lname": lastName,
      "bvn": bvn,
      "email": email,
      "phone": phone,
      'business_name': businessName
    };