init method

void init({
  1. String? locationPrefix,
  2. String? referencePrefix,
  3. String? bytesPrefix,
  4. String? datetimePrefix,
})

Implementation

void init({
  String? locationPrefix,
  String? referencePrefix,
  String? bytesPrefix,
  String? datetimePrefix,
}) {
  _locationPrefix = locationPrefix ?? 'location://';
  _referencePrefix = referencePrefix ?? 'reference://';
  _bytesPrefix = bytesPrefix ?? 'bytes://';
  _datetimePrefix = datetimePrefix ?? 'datetime://';
}