encode static method

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

Implementation

static Map<String, dynamic> encode(Weekday value) {
	Map<String, dynamic> entityAsMap = {
		"weekday" : value.weekday == null ? null : CodeStub.encode(value.weekday!),
		"weekNumber" : value.weekNumber
	};
	return entityAsMap;
}