toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'first_name': firstName,
      'last_name': lastName,
      'image': image,
      'image_url': image,
      'profile_data': profileData?.toMap(),
    };