phase3: targeted local-var nullable (strict type) + nullfix cascade. 379->309
This commit is contained in:
@@ -136,7 +136,7 @@ class CreateOnlineStore1State extends State<CreateOnlineStore1> {
|
||||
),
|
||||
),
|
||||
);
|
||||
Map<String, dynamic> existing_web_svc;
|
||||
Map<String, dynamic>? existing_web_svc;
|
||||
if (selectedStore != null && (selectedStore['services'] as List).length > 0) {
|
||||
for (Map<String, dynamic>svc in (selectedStore['services'] as List)) {
|
||||
if (svc['code'] == Constants.WEB_MINISTORE_SERVICE) {
|
||||
@@ -188,8 +188,8 @@ class CreateOnlineStore1State extends State<CreateOnlineStore1> {
|
||||
Navigator.pushReplacement(context, MaterialPageRoute(
|
||||
builder: (BuildContext context) =>
|
||||
BuyService(group.id!, Constants.WEB_MINISTORE_SERVICE,
|
||||
domain: existing_web_svc['domain'],
|
||||
sid: existing_web_svc['store']['id'],
|
||||
domain: existing_web_svc!['domain'],
|
||||
sid: existing_web_svc!['store']['id'],
|
||||
),
|
||||
));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user