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,
      );