Text.fromJson constructor

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

Implementation

factory Text.fromJson(Map<String, dynamic> json) => Text(
  value: json["value"],
  annotations: List<dynamic>.from(json["annotations"].map((x) => x)),
);