encode static method

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

Implementation

static Map<String, dynamic> encode(LetterValue value) {
	Map<String, dynamic> entityAsMap = {
		"letter" : value.letter,
		"index" : value.index,
		"coefficient" : value.coefficient,
		"value" : value.value
	};
	return entityAsMap;
}