encode static method
Implementation
static Map<String, dynamic> encode(CheckBox value) {
Map<String, dynamic> entityAsMap = {
"field" : value.field,
"shortLabel" : value.shortLabel,
"rows" : value.rows,
"columns" : value.columns,
"grows" : value.grows,
"multiline" : value.multiline,
"schema" : value.schema,
"tags" : value.tags?.map((x0) => x0).toList(),
"codifications" : value.codifications?.map((x0) => x0).toList(),
"options" : value.options?.map((k0, v0) => MapEntry(k0, v0)),
"labels" : value.labels?.map((k0, v0) => MapEntry(k0, v0)),
"value" : value.value,
"unit" : value.unit,
"required" : value.required,
"hideCondition" : value.hideCondition,
"now" : value.now,
"translate" : value.translate
};
return entityAsMap;
}