GcmChannelState constructor
const
GcmChannelState({})
Creates a new GcmChannelState.
apiKey Platform credential API key from Google. Conflicts with serviceJson.
applicationId Application ID.
defaultAuthenticationMethod Default authentication method used for GCM. Valid values: KEY, TOKEN. Defaults to KEY.
enabled Whether the channel is enabled or disabled. Defaults to true.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
serviceJson Service Account JSON from Google to use with the GCM API. Conflicts with apiKey.
Implementation
const GcmChannelState({
this.apiKey,
this.applicationId,
this.defaultAuthenticationMethod,
this.enabled,
this.region,
this.serviceJson,
});