type property

  1. @JsonKey(ignore: true)
InputType? type

Returns either the type1 value or the type2 value

Implementation

@JsonKey(ignore: true)

/// Returns either the [type1] value or the [type2] value
InputType? get type => type1 ?? type2;