isJsonFieldVisible property

bool get isJsonFieldVisible

Returns true if this field has a JsonField annotation with JsonField.isVisible.

Implementation

bool get isJsonFieldVisible {
  for (var a in jsonFieldAnnotations) {
    if (a.isVisible) {
      return true;
    }
  }
  return false;
}