PkPassWebService class

PassKit WebService implementation

A Representational State Transfer (REST)–style web service protocol is used to communicate with your server about changes to passes, and to fetch the latest version of a pass when it has changed.

https://developer.apple.com/library/archive/documentation/PassKit/Reference/PassKit_WebService/WebService.html#//apple_ref/doc/uid/TP40011988

Constructors

PkPassWebService(PassMetadata metadata, {Client? client})
const

Properties

client → Client?
An optional Client used for any http requests
final
hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
no setter
metadata PassMetadata
The PassMetadata to check for updates.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webService PassWebService
no setter

Methods

getLatestVersion([DateTime? modifiedSince]) Future<Uint8List?>
Getting the Latest Version of a Pass
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
noWebServiceProvided() → Never
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited