FIX: registerVisitor and visitHistory
This commit is contained in:
parent
1e997a6de6
commit
016be1df54
|
@ -2550,8 +2550,7 @@ String _serializeList(List? list) {
|
|||
try {
|
||||
return json.encode(list, toEncodable: _toEncodable);
|
||||
} catch (_) {
|
||||
if (kDebugMode) {
|
||||
}
|
||||
if (kDebugMode) {}
|
||||
return '[]';
|
||||
}
|
||||
}
|
||||
|
@ -2561,8 +2560,7 @@ String _serializeJson(dynamic jsonVar, [bool isList = false]) {
|
|||
try {
|
||||
return json.encode(jsonVar, toEncodable: _toEncodable);
|
||||
} catch (_) {
|
||||
if (kDebugMode) {
|
||||
}
|
||||
if (kDebugMode) {}
|
||||
return isList ? '[]' : '{}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import 'dart:convert';
|
||||
import 'dart:core';
|
||||
import 'dart:developer';
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
|
@ -15,9 +16,6 @@ import '/flutter_flow/uploaded_file.dart';
|
|||
|
||||
import 'get_streamed_response.dart';
|
||||
|
||||
|
||||
|
||||
|
||||
enum ApiCallType {
|
||||
GET,
|
||||
POST,
|
||||
|
@ -413,6 +411,8 @@ class ApiManager {
|
|||
ApiCallOptions? options,
|
||||
http.Client? client,
|
||||
}) async {
|
||||
log('makeApiCall -> $params.toString()');
|
||||
|
||||
final callOptions = options ??
|
||||
ApiCallOptions(
|
||||
callName: callName,
|
||||
|
@ -515,4 +515,4 @@ class ApiManager {
|
|||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -146,6 +146,7 @@ class _VisitRequestTemplateComponentWidgetState
|
|||
.override(
|
||||
fontFamily: FlutterFlowTheme.of(context)
|
||||
.labelMediumFamily,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: FlutterFlowTheme.of(context).info,
|
||||
letterSpacing: 0.0,
|
||||
useGoogleFonts: GoogleFonts.asMap()
|
||||
|
@ -292,9 +293,9 @@ class _VisitRequestTemplateComponentWidgetState
|
|||
),
|
||||
),
|
||||
]
|
||||
.divide(const SizedBox(height: 20.0))
|
||||
.addToEnd(const SizedBox(height: 20.0))
|
||||
.addToStart(const SizedBox(height: 20.0)),
|
||||
.divide(const Flexible(child: SizedBox(height: 20.0)))
|
||||
.addToEnd(const Flexible(child: SizedBox(height: 20.0)))
|
||||
.addToStart(const Flexible(child: SizedBox(height: 20.0))),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue