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,
        functionRegion: json_.containsKey('functionRegion')
            ? json_['functionRegion'] 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,
      );