initialize method

void initialize(
  1. Environment env
)

Implementation

void initialize(Environment env) {
  _channel.invokeMethod('initializeSDK', switch(env) {
    Environment.qa => 'qa',
    Environment.dev => 'dev',
    Environment.sandbox => 'sandbox',
    Environment.staging => 'staging',
    Environment.production => 'production',
  });
}