encode static method

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

Implementation

static Map<String, dynamic> encode(CodeStub value) {
	Map<String, dynamic> entityAsMap = {
		"id" : value.id,
		"context" : value.context,
		"type" : value.type,
		"code" : value.code,
		"version" : value.version,
		"contextLabel" : value.contextLabel,
		"label" : value.label?.map((k0, v0) => MapEntry(k0, v0))
	};
	return entityAsMap;
}