MultisigAccount.fromJson constructor

MultisigAccount.fromJson(
  1. Map<String, dynamic> json
)

Creates a MultisigAccount from a JSON representation.

This is useful for deserializing multisig configurations from storage or network.

Parameters:

  • json: The JSON map containing threshold, publicKeys, and multisigPubkey

Returns: A MultisigAccount instance reconstructed from the JSON data.

Throws:

  • Exception if the JSON is malformed or missing required fields

Implementation

factory MultisigAccount.fromJson(final Map<String, dynamic> json) =>
    _$MultisigAccountFromJson(json);