StructuredFormatting class Null safety

Constructors

StructuredFormatting({String? mainText, List<MainTextMatchedSubstring>? mainTextMatchedSubstrings, String? secondaryText})
StructuredFormatting.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
mainText String?
mainText contains the main text of a prediction, usually the name of the place.
final
mainTextMatchedSubstrings List<MainTextMatchedSubstring>?
mainTextMatchedSubstrings contains an array with offset value and length. These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secondaryText String?
secondaryText contains the secondary text of a prediction, usually the location of the place.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited