toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "name": fullName,
      "email": email,
      "avatar_url": avatarUrl,
      "phone": phone,
      "identifier_hash": identifierHash,
      "description": description,
      "country_code": countryCode,
      "city": city,
      "company_name": companyName,
      "social_profiles": socialProfiles?.toJson(),
    };