beforeSerialize method
Implementation
@override // (GeoPoint) -> Value -> _ | _ -> Json -> _
Object? beforeSerialize(Object? object, FullType specifiedType) {
if (object is DateTime && specifiedType.root == DateTime) {
return object.toUtc();
}
return object;
}