* Returns the language-neutral value of the given field. * * @param name The name of the field. * @returns Value of the field or null if field does not exist.
(name: string)
| 1220 | * @returns Value of the field or null if field does not exist. |
| 1221 | */ |
| 1222 | getFieldValue(name: string): AnyDuringMigration { |
| 1223 | const field = this.getField(name); |
| 1224 | if (field) { |
| 1225 | return field.getValue(); |
| 1226 | } |
| 1227 | return null; |
| 1228 | } |
| 1229 | |
| 1230 | /** |
| 1231 | * Sets the value of the given field for this block. |
no test coverage detected