toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "phone_number": phoneNumber,
    "first_name": firstName,
    "last_name": lastName,
    "vcard": vcard,
    "user_id": userId,
  };
}