PasteDataRequest.fromJson constructor

PasteDataRequest.fromJson(
  1. Map json_
)

Implementation

PasteDataRequest.fromJson(core.Map json_)
    : this(
        coordinate: json_.containsKey('coordinate')
            ? GridCoordinate.fromJson(
                json_['coordinate'] as core.Map<core.String, core.dynamic>)
            : null,
        data: json_.containsKey('data') ? json_['data'] as core.String : null,
        delimiter: json_.containsKey('delimiter')
            ? json_['delimiter'] as core.String
            : null,
        html: json_.containsKey('html') ? json_['html'] as core.bool : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );