AppstreamImage constructor Null safety

const AppstreamImage(
  1. {required AppstreamImageType type,
  2. required String url,
  3. int? width,
  4. int? height,
  5. String? lang}
)

Implementation

const AppstreamImage(
    {required this.type,
    required this.url,
    this.width,
    this.height,
    this.lang});