fun <T : BaseRecord> get(wallet: Wallet, type: Class<T>, id: String): Maybe<T>
Gets a non-secret a record from wallet by id. This method is important because Java doesn't work with inline methods with reified generic.
wallet
- where record will be added
type
- is kind of the returning record
id
- is unique identifier of the record in the wallet
Return
the instance of the founded record or empty
fun <reified T : BaseRecord> get(wallet: Wallet, id: String): Maybe<T>
Gets a non-secret a record from wallet by id
wallet
- where record will be added
id
- is unique identifier of the record in the wallet
Return
the instance of the founded record or empty