toJson method

Map<String, Object?> toJson()

The value stored at metadata.keyPackage — the payload only. enrollmentId / apkamId are carried by the enclosing verb structure (the enrollment and its APKAM-keypair entry), not repeated here.

Implementation

Map<String, Object?> toJson() =>
    payloadFor(createdAt: createdAt, keys: keys, suites: suites, v: v);