Nudge.fromJson constructor

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

Implementation

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