Link Search Menu Expand Document (external link)

Apex Code

Important Info to Fill in Flutter App

See .env.example as an example. Make sure to change the name of your .env file after updating it. Or you can just return

static String get fileName {
    return '.env.example'
}

environment.dart

static String get fileName {
    if (kReleaseMode) {
      return '.env.production';
    }
    return '.env.development';
  }

.env.example

client_id ='********************'
client_secret ='*******************'
username = '******@email.com'
password = '***************'
security_token = '***************'
instance_url = 'https://*******.my.salesforce.com'

Table of contents