StructuredFormatting.fromJson constructor

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

Implementation

StructuredFormatting.fromJson(Map<String, dynamic> json) {
  mainText = json['main_text'];

  secondaryText = json['secondary_text'];
}