FunctionDefaultExecutionConfig.fromJson constructor

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

Implementation

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