TokenWithGroup.fromJSON constructor

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

Implementation

factory TokenWithGroup.fromJSON(Map<String, dynamic> data) {
	return TokenWithGroup(
		(data["token"] as String),
		(data["groupId"] as String),
		groupName: (data["groupName"] as String?),
	);
}