setStaticField<T> method
Sets the static field value
for fieldName
.
Implementation
void setStaticField<T>(String fieldName, T value) {
var field = staticField<T>(fieldName);
return field?.set(value);
}
Sets the static field value
for fieldName
.
void setStaticField<T>(String fieldName, T value) {
var field = staticField<T>(fieldName);
return field?.set(value);
}