toMap method

Map<String, Object?> toMap()

Encodes this result using standard message-codec values.

Implementation

Map<String, Object?> toMap() => <String, Object?>{
  'checkout': checkout.toMap(),
  'nextAction': nextAction.toMap(),
  'price': price?.toMap(),
};