toMap method

Map<String, Object?> toMap()

Encodes checkout state using standard message-codec values.

Implementation

Map<String, Object?> toMap() => <String, Object?>{
  'id': id,
  'status': status,
  'expiresAt': expiresAt,
};