ServerStartedCallback typedef

ServerStartedCallback = void Function(ExternalMapDataSourceErrorCode? errorCode)

This method will be called on the main thread when ExternalMapDataSourceServer.start has been completed.

  • errorCode Represents the operation status. It is 'null' for an operation that succeeds.

Implementation

typedef ServerStartedCallback = void Function(ExternalMapDataSourceErrorCode? errorCode);