encode static method

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

Implementation

static Map<String, dynamic> encode(OperationToken value) {
	Map<String, dynamic> entityAsMap = {
		"tokenHash" : value.tokenHash,
		"creationTime" : value.creationTime,
		"validity" : value.validity,
		"operation" : Operation.encode(value.operation),
		"description" : value.description
	};
	return entityAsMap;
}