CloneVersionRequest.fromJson constructor

CloneVersionRequest.fromJson(
  1. Map _json
)

Implementation

CloneVersionRequest.fromJson(core.Map _json)
    : this(
        exclude: _json.containsKey('exclude')
            ? PathFilter.fromJson(
                _json['exclude'] as core.Map<core.String, core.dynamic>)
            : null,
        finalize: _json.containsKey('finalize')
            ? _json['finalize'] as core.bool
            : null,
        include: _json.containsKey('include')
            ? PathFilter.fromJson(
                _json['include'] as core.Map<core.String, core.dynamic>)
            : null,
        sourceVersion: _json.containsKey('sourceVersion')
            ? _json['sourceVersion'] as core.String
            : null,
      );