toMap abstract method

Map<String, Object?> toMap(
  1. T value,
  2. SetOptions? options
)

Converts the given item to a Map that can be stored in Firestore.

Implementation

Map<String, Object?> toMap(
  T value,
  SetOptions? options,
);