toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enabled = this.enabled;
  final senderId = this.senderId;
  final shortCode = this.shortCode;
  return {
    if (enabled != null) 'Enabled': enabled,
    if (senderId != null) 'SenderId': senderId,
    if (shortCode != null) 'ShortCode': shortCode,
  };
}