toJson method

JsonMap toJson()

Encodes this object as JSON.

Implementation

JsonMap toJson() => {
  'account_id': accountId,
  'recipient': recipient,
  'created_at': encodeDateTime(createdAt),
  'expires_at': encodeDateTime(expiresAt),
  'reason': reason,
  'sending_domain': sendingDomain,
};