PropertyBuilder constructor Null safety

const PropertyBuilder(
  1. {required String name,
  2. required String type,
  3. required bool isPrivate,
  4. String? defaultValue,
  5. PropertyBuilderJsonConverter jsonConverter = defaultPropertyBuilderJsonConverter}
)

Implementation

const PropertyBuilder({
  required this.name,
  required this.type,
  required this.isPrivate,
  this.defaultValue,
  PropertyBuilderJsonConverter jsonConverter =
      defaultPropertyBuilderJsonConverter,
}) : _jsonConverter = jsonConverter;