Construct a LedgerData from a Variant. The Variant must be a VariantMap, if not then the LedgerData will be empty.
VariantMap
// PROTOTYPE LedgerData(Variant var);