onError abstract method Null safety

AuthCloudApiRegistration onError(
  1. dynamic onError(
    1. AuthCloudApiError
    )
)

Specifies the object that will be invoked if the registration failed.

IMPORTANT
Providing the onError is required.

Params:

Returns: an AuthCloudApiRegistration object.

Implementation

AuthCloudApiRegistration onError(Function(AuthCloudApiError) onError);