decode static method

OpenTokConfig decode(
  1. Object message
)

Implementation

static OpenTokConfig decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return OpenTokConfig(
    apiKey: pigeonMap['apiKey']! as String,
    sessionId: pigeonMap['sessionId']! as String,
    token: pigeonMap['token']! as String,
  );
}