diff --git a/packages/flutter_distributor/lib/src/release.dart b/packages/flutter_distributor/lib/src/release.dart index f99b9ce9..dca9dc81 100644 --- a/packages/flutter_distributor/lib/src/release.dart +++ b/packages/flutter_distributor/lib/src/release.dart @@ -12,7 +12,7 @@ class Release { if (json.containsKey('variables') && json['variables'] != null) { variables = Map.from(json['variables']); } - List jobs = (json['jobs'] as List) + List jobs = (json['jobs'] as List? ?? []) .map((item) => ReleaseJob.fromJson(item)) .toList(); return Release(