toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accountId != null) 'accountId': accountId!,
  if (annotation != null) 'annotation': annotation!,
  if (hashedAccountId != null) 'hashedAccountId': hashedAccountId!,
  if (phoneAuthenticationEvent != null)
    'phoneAuthenticationEvent': phoneAuthenticationEvent!,
  if (reasons != null) 'reasons': reasons!,
  if (transactionEvent != null) 'transactionEvent': transactionEvent!,
};