PasskitNfc.fromJson constructor

PasskitNfc.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PasskitNfc.fromJson(Map<String, dynamic> json) {
  return PasskitNfc(
    encryptionPublicKey: json['encryptionPublicKey'],
    message: json['message'],
    requiresAuthentication: json['requiresAuthentication'] as bool?,
  );
}