title: How to write timeout for firestore on flutter?
body: <p>When i updating a firestore data without a internet connection. it just stuck there. how do I timeout a firestore request. or what is the best way to do this?</p>
  
  <pre><code>try {
    await userRef.document(uid).updateData({ 
      "data": data 
    });
    return Response.isSuccess({});
  } catch(err) {
    print(err);
    return Response.isError(err);
  }
  </code></pre>