ApptiveGridOptions class

Configuration options for ApptiveGrid

Constructors

ApptiveGridOptions({ApptiveGridEnvironment environment = ApptiveGridEnvironment.production, ApptiveGridAuthenticationOptions authenticationOptions = const ApptiveGridAuthenticationOptions(), ApptiveGridCache? cache, Map<ApptiveGridEnvironment, AttachmentConfiguration?> attachmentConfigurations = const {}, List<FormWidgetConfiguration> formWidgetConfigurations = const []})
Creates a configuration
const

Properties

attachmentConfigurations Map<ApptiveGridEnvironment, AttachmentConfiguration?>
Configurations for Attachments
final
authenticationOptions ApptiveGridAuthenticationOptions
Authentication for API
final
cache ApptiveGridCache?
Implementation for Caching. Use this to cache/store values for faster initial Data This can also be used to enable offline mode sending
final
environment ApptiveGridEnvironment
Determines the API endpoint used
final
formWidgetConfigurations List<FormWidgetConfiguration>
Add a list of FormWidgetConfiguration used for different FormWidgets when using apptive_grid_form
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ApptiveGridEnvironment? environment, ApptiveGridAuthenticationOptions? authenticationOptions, ApptiveGridCache? cache, Map<ApptiveGridEnvironment, AttachmentConfiguration>? attachmentConfigurations, List<FormWidgetConfiguration>? formWidgetConfigurations}) ApptiveGridOptions
Creates a copy of ApptiveGridOptions with the provided values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override