public void SetData(object documentData, CompletionHandler handler) { _documentReference.SetData(documentData.ToNativeFieldValues(), (error) => { handler?.Invoke(error == null ? null : ExceptionMapper.Map(error)); }); }