toMap method

  1. @override
Map<String, Object> toMap ()
override

model -> map

Implementation

@override
Map<String, Object> toMap() {
  return {
    'updating': this.updating,
    'location': this.location?.toMap(),
    'heading': this.heading?.toMap(),
    'title': this.title,
    'subtitle': this.subtitle
  };
}