type property

  1. @override
String get type
override

Meta algorithm version

 1 = MKM : username@address (default)
 2 = BTC : btc_address
 4 = ETH : eth_address
 ...

Implementation

@override
String get type {
  String? version = _type;
  if (version == null) {
    var helper = sharedAccountExtensions.helper;
    version = helper!.getMetaType(super.toMap());
    version ??= '';
    _type = version;
    // _type ??= getInt('type', 0);
  }
  return version;
}