toMap property

Map<String, dynamic> toMap
override

Implementation

Map<String, dynamic> get toMap {
  Map<String, dynamic> eventInformation = super.toMap;
  if (_receipt != null) {
    eventInformation['ptr'] = _receipt;
  }
  if (_receipt != null) {
    eventInformation['receipt'] = _receipt;
  }
  if (_signature != null) {
    eventInformation['receipt_signature'] = _signature;
  }
  return eventInformation;
}