prepareLicense property

  1. @JsonKey(includeFromJson: false, includeToJson: false)
(String Function(String ckc)?) prepareLicense
final

A function to prepare the loaded CKC Data before passing it to the system. This is needed if the server responds with anything else than the license, e.g. if the license is wrapped into a JSON object.

Note that both the passed ckc license data and the returned processed CKC license data are expected to be a Base64 encoded String.

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
final String Function(String ckc)? prepareLicense;