encode static method

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

Implementation

static Map<String, dynamic> encode(AuthenticationToken value) {
	Map<String, dynamic> entityAsMap = {
		"token" : value.token,
		"creationTime" : value.creationTime,
		"validity" : value.validity,
		"deletionDate" : value.deletionDate
	};
	return entityAsMap;
}