RegistrationSuccess.fromJSON constructor

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

Implementation

factory RegistrationSuccess.fromJSON(Map<String, dynamic> data) {
	return RegistrationSuccess(
		(data["groupId"] as String),
		(data["userId"] as String),
		(data["token"] as String)
	);
}