toMap method

Map<String, dynamic> toMap()
override

Implementation

Map<String, dynamic> toMap() {
  return {
    'requestType': 'AppleIdRequest',
    'user': user,
    'requestedOperation': requestedOperation!.value,
    'requestedScopes':
        requestedScopes?.map((scope) => scope.value).toList() ?? []
  };
}