toJson method

Map<String, dynamic> toJson()

Converts this FairplayConfig into JSON friendly Map<String, dynamic>

Implementation

Map<String, dynamic> toJson() {
  final jsonData = _$FairplayConfigToJson(this);

  jsonData['prepareMessage'] = prepareMessage != null;
  jsonData['prepareContentId'] = prepareContentId != null;
  jsonData['prepareCertificate'] = prepareCertificate != null;
  jsonData['prepareLicense'] = prepareLicense != null;
  jsonData['prepareLicenseServerUrl'] = prepareLicenseServerUrl != null;
  jsonData['prepareSyncMessage'] = prepareSyncMessage != null;

  return jsonData;
}