StringOr<T extends Object> constructor

const StringOr<T extends Object>({
  1. String? string,
  2. T? object,
})

Implementation

const StringOr({
  this.string,
  this.object,
});