toJson method

Map<String, dynamic> toJson()

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

Implementation

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

  jsonData['prepareMessage'] = prepareMessage != null;
  jsonData['prepareLicense'] = prepareLicense != null;

  return jsonData;
}