FunctionExecutionConfig.fromJson constructor

FunctionExecutionConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FunctionExecutionConfig.fromJson(Map<String, dynamic> json) {
  return FunctionExecutionConfig(
    isolationMode:
        (json['IsolationMode'] as String?)?.toFunctionIsolationMode(),
    runAs: json['RunAs'] != null
        ? FunctionRunAsConfig.fromJson(json['RunAs'] as Map<String, dynamic>)
        : null,
  );
}