Escalated.fromJson constructor

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

Implementation

factory Escalated.fromJson(Map<String, dynamic> json) {
  return Escalated(
      json['id'],
      DateTime.parse(json['sent']),
      json['recipientId'],
      json['number'],
      json['role'],
      json['substitutingId'],
      Duration(seconds: json['duration']));
}