Skip to content

Instantly share code, notes, and snippets.

@kichiemon
Created April 1, 2020 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kichiemon/5bd65045c4c019286bbf166d468b44c2 to your computer and use it in GitHub Desktop.
Save kichiemon/5bd65045c4c019286bbf166d468b44c2 to your computer and use it in GitHub Desktop.
@override
Future<void> settings({
bool persistenceEnabled,
String host,
bool sslEnabled,
int cacheSizeBytes,
}) async {
await channel.invokeMethod<void>('Firestore#settings', <String, dynamic>{
'app': app.name,
'persistenceEnabled': persistenceEnabled,
'host': host,
'sslEnabled': sslEnabled,
'cacheSizeBytes': cacheSizeBytes,
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment