toFirestore abstract method

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

Converts value to the map to write. options are the options of the set call, null when it had none.

Implementation

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