toFirestore abstract method

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

Converts a T? to a Map<String, Object?> to upload to Firestore.

Implementation

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