Right.fromJSON constructor
Implementation
factory Right.fromJSON(Map<String, dynamic> data) {
return Right(
userId: (data["userId"] as String?),
read: (data["read"] as bool),
write: (data["write"] as bool),
administration: (data["administration"] as bool)
);
}