toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'code': code,
      'content': content,
      'ownerships': List<dynamic>.from(ownerships!.map((Ownership x) => x)),
      'ledger': ledger!.toJson(),
      'recipients': List<dynamic>.from(recipients!.map((String x) => x)),
    };