toLayoutStruct method
Converts the current object to a layout-friendly structure (Map format).
Implementation
@override
Map<String, dynamic> toLayoutStruct() {
  return {
    "publicKeys": publicKeys.map((e) => e.toLayoutStruct()).toList(),
    "threshold": threshold
  };
}