InlineTextBox.fromJson constructor

InlineTextBox.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory InlineTextBox.fromJson(Map<String, dynamic> json) {
  return InlineTextBox(
    boundingBox:
        dom.Rect.fromJson(json['boundingBox'] as Map<String, dynamic>),
    startCharacterIndex: json['startCharacterIndex'] as int,
    numCharacters: json['numCharacters'] as int,
  );
}