StateChanged.fromJson constructor

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

Implementation

factory StateChanged.fromJson(Map<String, dynamic> json) {
  return StateChanged(json['id'], DateTime.parse(json['sent']),
      json['recipientId'], json['number'], json['state']);
}