mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 03:17:00 +08:00
Reorder imports in http_response_utils.dart
Moved the 'dart:convert' import to the top of the file for consistency with Dart import conventions.
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
|
import 'dart:convert';
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
import 'package:http_parser/http_parser.dart';
|
import 'package:http_parser/http_parser.dart';
|
||||||
import 'package:xml/xml.dart';
|
import 'package:xml/xml.dart';
|
||||||
import '../consts.dart';
|
import '../consts.dart';
|
||||||
import 'dart:convert';
|
|
||||||
|
|
||||||
String? formatBody(String? body, MediaType? mediaType) {
|
String? formatBody(String? body, MediaType? mediaType) {
|
||||||
if (mediaType != null && body != null) {
|
if (mediaType != null && body != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user