compareProgramInfo function Null safety

Map<String, dynamic> compareProgramInfo(
  1. ProgramInfo oldSizes,
  2. ProgramInfo newSizes,
  3. {TreemapFormat format = TreemapFormat.collapsed}
)

Implementation

Map<String, dynamic> compareProgramInfo(
    ProgramInfo oldSizes, ProgramInfo newSizes,
    {TreemapFormat format = TreemapFormat.collapsed}) {
  final diff = computeDiff(oldSizes, newSizes);
  return treemapFromInfo(diff, format: format);
}