Rewrite.fromJson constructor

Rewrite.fromJson(
  1. Map _json
)

Implementation

Rewrite.fromJson(core.Map _json)
    : this(
        dynamicLinks: _json.containsKey('dynamicLinks')
            ? _json['dynamicLinks'] as core.bool
            : null,
        function: _json.containsKey('function')
            ? _json['function'] as core.String
            : null,
        glob: _json.containsKey('glob') ? _json['glob'] as core.String : null,
        path: _json.containsKey('path') ? _json['path'] as core.String : null,
        regex:
            _json.containsKey('regex') ? _json['regex'] as core.String : null,
        run: _json.containsKey('run')
            ? CloudRunRewrite.fromJson(
                _json['run'] as core.Map<core.String, core.dynamic>)
            : null,
      );