toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'status': status.toString().split('.').last,
      'message': message,
      'profileId': profileId,
    };