setAppId static method

void setAppId(
  1. String id
)

Implementation

static void setAppId(String id) {
  // Store app ID for later (for Web SDK)
  appId = id;

  // Not running on Web?
  if (!kIsWeb) {
    // Invoke native method
    _channel.invokeMethod('setAppId', <dynamic>[appId]);
  }
}