JourneySMSMessage.fromJson constructor

JourneySMSMessage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory JourneySMSMessage.fromJson(Map<String, dynamic> json) {
  return JourneySMSMessage(
    messageType: (json['MessageType'] as String?)?.toMessageType(),
    senderId: json['SenderId'] as String?,
  );
}