toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buildId != null) 'buildId': buildId!,
      if (module != null) 'module': module!,
    };