setOptions method

Future<void> setOptions(
  1. ApptiveGridOptions options
)

Updates the options

Implementation

Future<void> setOptions(ApptiveGridOptions options) async {
  // Keep old environment as change is handled in [updateEnvironment]
  _options = options.copyWith(environment: _options.environment);
  await updateEnvironment(options.environment);
}