create static method
Create wrapper for nekoton's UnsignedMessage with suitable returns values of some methods.
Implementation
static Future<UnsignedMessage> create({
required UnsignedMessageImpl message,
}) async {
final instance = UnsignedMessage._(message);
instance.hash = await message.hash();
instance.expireAt =
dateSecondsSinceEpochJsonConverter.fromJson(await message.expireAt());
return instance;
}