isGetterOnly method Null safety

bool isGetterOnly(
  1. String name
)

Implementation

bool isGetterOnly(String name) {
  return classMirror.instanceMembers[name + '='] == null;
}