bootWithStatus method

  1. @override
Future<ChannelTalkBootStatus> bootWithStatus(
  1. Map<String, dynamic> config
)
override

Implementation

@override
Future<ChannelTalkBootStatus> bootWithStatus(
    Map<String, dynamic> config) async {
  // Web only exposes callback success or failure, so failure has no detailed status.
  final booted = await boot(config);
  return booted == true
      ? ChannelTalkBootStatus.success
      : ChannelTalkBootStatus.unknown;
}