toJson method
Implementation
@override
Map<String, dynamic> toJson() {
var tmp = super.toJson();
if (tmp.containsKey('statusListCredential')) {
return tmp;
} else {
tmp['statusListIndex'] = statusListIndex;
tmp['statusListCredential'] = statusListCredential;
tmp['statusPurpose'] = statusPurpose.value;
return tmp;
}
}