toMap method

Map<String, Object?> toMap()

Encodes this challenge using standard message-codec values.

Implementation

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