LexObject constructor

  1. @JsonSerializable(includeIfNull: false)
const LexObject({
  1. @Default('object') String type,
  2. String? description,
  3. @JsonKey(name: 'required') List<String>? requiredProperties,
  4. @JsonKey(name: 'nullable') List<String>? nullableProperties,
  5. @lexObjectPropertyConverter Map<String, LexObjectProperty>? properties,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory LexObject({
  @Default('object') String type,
  String? description,
  @JsonKey(name: 'required') List<String>? requiredProperties,
  @JsonKey(name: 'nullable') List<String>? nullableProperties,
  @lexObjectPropertyConverter Map<String, LexObjectProperty>? properties,
}) = _LexObject;