get Contract Detail
suspend fun getContractDetail(contractUid: String, fetchType: ZyncFetchType = ZyncFetchType.NONE): ContractResult
Get detailed information for a specific contract by its UID.
This method implements an offline-first approach:
Returns cached contract data immediately if available
Background sync will update the data automatically
Return
ContractResult containing contract detail with complete information, or error
Parameters
contract Uid
The unique identifier of the contract
fetch Type
The fetch strategy to use (NONE, MARK_STALE, or FORCE_REFRESH)