Environment.raw constructor

const Environment.raw({
  1. required String handler,
  2. required String functionName,
  3. required String functionMemorySize,
  4. required String functionVersion,
  5. required String logGroupName,
  6. required String logStreamName,
  7. required String region,
  8. required String executionEnv,
  9. required String accessKey,
  10. required String secretAccessKey,
  11. required String runtimeAPI,
  12. required String sessionToken,
})

Implementation

const Environment.raw(
    {required this.handler,
    required this.functionName,
    required this.functionMemorySize,
    required this.functionVersion,
    required this.logGroupName,
    required this.logStreamName,
    required this.region,
    required this.executionEnv,
    required this.accessKey,
    required this.secretAccessKey,
    required this.runtimeAPI,
    required this.sessionToken})
    : assert(handler != null),
      assert(functionName != null),
      assert(functionMemorySize != null),
      assert(functionVersion != null),
      assert(logGroupName != null),
      assert(logStreamName != null),
      assert(region != null),
      assert(executionEnv != null),
      assert(accessKey != null),
      assert(secretAccessKey != null),
      assert(sessionToken != null),
      assert(runtimeAPI != null);