InsertTextRequest.fromJson constructor

InsertTextRequest.fromJson(
  1. Map json_
)

Implementation

InsertTextRequest.fromJson(core.Map json_)
    : this(
        cellLocation: json_.containsKey('cellLocation')
            ? TableCellLocation.fromJson(
                json_['cellLocation'] as core.Map<core.String, core.dynamic>)
            : null,
        insertionIndex: json_.containsKey('insertionIndex')
            ? json_['insertionIndex'] as core.int
            : null,
        objectId: json_.containsKey('objectId')
            ? json_['objectId'] as core.String
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );