UpdateSlicerSpecRequest.fromJson constructor

UpdateSlicerSpecRequest.fromJson(
  1. Map json_
)

Implementation

UpdateSlicerSpecRequest.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? json_['fields'] as core.String
            : null,
        slicerId: json_.containsKey('slicerId')
            ? json_['slicerId'] as core.int
            : null,
        spec: json_.containsKey('spec')
            ? SlicerSpec.fromJson(
                json_['spec'] as core.Map<core.String, core.dynamic>)
            : null,
      );