customPatch property
List<JsonPatchOperation> ?
get
customPatch
Implementation
List<JsonPatchOperation>? get customPatch {
return (_json['customPatch'] as List?)
?.map((e) => JsonPatchOperation.fromJson(e as Map<String, dynamic>))
.toList();
}
set
customPatch
(List<JsonPatchOperation> ? value)
Implementation
set customPatch(List<JsonPatchOperation>? value) {
if (value == null) {
_json.remove('customPatch');
} else {
_json['customPatch'] = value.map((e) => e.toJson()).toList();
}
}