ApplePayTokenData.fromMap constructor

ApplePayTokenData.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ApplePayTokenData.fromMap(Map<String, dynamic> map) {
  return ApplePayTokenData(
    data: map['data'] ?? '',
    version: map['version'] ?? '',
    header: map['header'] ?? '',
    signature: map['signature'] ?? '',
  );
}