ParseConfiguration constructor
ParseConfiguration({})
Implementation
ParseConfiguration({
required String server,
required this.applicationId,
this.liveQueryServer,
this.clientKey,
this.masterKey,
this.enableLogging = false,
this.httpClient,
this.compute,
}) : assert(
server.startsWith('https://') || server.startsWith('http://'),
'Invalid parse server',
),
assert(
liveQueryServer == null ||
liveQueryServer.startsWith('wss://') ||
liveQueryServer.startsWith('ws://'),
'Invalid parse live query server',
),
uri = Uri.parse((server.endsWith("/")
? server.substring(0, server.length - 1)
: server));