PlaceAutocompleteTerm.fromMap constructor

PlaceAutocompleteTerm.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory PlaceAutocompleteTerm.fromMap(Map<String, dynamic> map) {
  return PlaceAutocompleteTerm(
    offset: map['offset'] as int,
    value: map['value'] as String,
  );
}