CopyPasteRequest.fromJson constructor

CopyPasteRequest.fromJson(
  1. Map json_
)

Implementation

CopyPasteRequest.fromJson(core.Map json_)
    : this(
        destination: json_.containsKey('destination')
            ? GridRange.fromJson(
                json_['destination'] as core.Map<core.String, core.dynamic>)
            : null,
        pasteOrientation: json_.containsKey('pasteOrientation')
            ? json_['pasteOrientation'] as core.String
            : null,
        pasteType: json_.containsKey('pasteType')
            ? json_['pasteType'] as core.String
            : null,
        source: json_.containsKey('source')
            ? GridRange.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
      );