PushTokenResponse.fromJson constructor
Implementation
factory PushTokenResponse.fromJson(Map<String, dynamic> json) =>
PushTokenResponse(
token: json['token'] as String,
expiresAt: DateTime.parse(json['expiresAt'] as String),
channels: List<String>.from(json['channels'] as List),
);