CutPasteRequest.fromJson constructor
CutPasteRequest.fromJson(
- Map json_
Implementation
CutPasteRequest.fromJson(core.Map json_)
: this(
destination: json_.containsKey('destination')
? GridCoordinate.fromJson(
json_['destination'] as core.Map<core.String, core.dynamic>)
: 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,
);