encode static method

Map<String, dynamic> encode(
  1. Right value
)

Implementation

static Map<String, dynamic> encode(Right value) {
	Map<String, dynamic> entityAsMap = {
		"userId" : value.userId,
		"read" : value.read,
		"write" : value.write,
		"administration" : value.administration
	};
	return entityAsMap;
}