FFAnnotations constructor

FFAnnotations({
  1. String? documentation,
  2. @Deprecated('This field is deprecated.') String? legacySemanticLabel,
  3. FFSemanticProperties? semanticProperties,
  4. FFValue? semanticLabel,
})

Implementation

factory FFAnnotations({
  $core.String? documentation,
  @$core.Deprecated('This field is deprecated.')
  $core.String? legacySemanticLabel,
  FFSemanticProperties? semanticProperties,
  FFValue? semanticLabel,
}) {
  final result = create();
  if (documentation != null) result.documentation = documentation;
  if (legacySemanticLabel != null)
    result.legacySemanticLabel = legacySemanticLabel;
  if (semanticProperties != null)
    result.semanticProperties = semanticProperties;
  if (semanticLabel != null) result.semanticLabel = semanticLabel;
  return result;
}