SMSChannelResponse.fromJson constructor
SMSChannelResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SMSChannelResponse.fromJson(Map<String, dynamic> json) {
return SMSChannelResponse(
platform: json['Platform'] as String,
applicationId: json['ApplicationId'] as String?,
creationDate: json['CreationDate'] as String?,
enabled: json['Enabled'] as bool?,
hasCredential: json['HasCredential'] as bool?,
id: json['Id'] as String?,
isArchived: json['IsArchived'] as bool?,
lastModifiedBy: json['LastModifiedBy'] as String?,
lastModifiedDate: json['LastModifiedDate'] as String?,
promotionalMessagesPerSecond:
json['PromotionalMessagesPerSecond'] as int?,
senderId: json['SenderId'] as String?,
shortCode: json['ShortCode'] as String?,
transactionalMessagesPerSecond:
json['TransactionalMessagesPerSecond'] as int?,
version: json['Version'] as int?,
);
}