StructuredFormatting class
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.
no setterinherited
- 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.
no setterinherited
- 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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited