encodeNotchedShape static method
Encodes the given value
to the String representation. Supported values
are:
circular
All other values, including null
, will result in null
.
Implementation
static String? encodeNotchedShape(NotchedShape? value) {
assert(value == null || value is CircularNotchedRectangle);
String? result;
if (value != null) {
result = 'circular';
}
return result;
}