AuthenticationToken.fromJSON constructor

AuthenticationToken.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory AuthenticationToken.fromJSON(Map<String, dynamic> data) {
	return AuthenticationToken(
		(data["creationTime"] as int),
		(data["validity"] as int),
		token: (data["token"] as String?),
		deletionDate: (data["deletionDate"] as int?),
	);
}