expose an api in flutter code example
Example 1: rest api flutter tutorial
dependencies:
http: <latest_version>
Example 2: rest api flutter tutorial
import 'package:http/http.dart' as http;
dependencies:
http: <latest_version>
import 'package:http/http.dart' as http;