casama_api 0.1.0
casama_api: ^0.1.0 copied to clipboard
Generated REST client for the Casama API (dio + json_serializable), used by casama_sdk. Do not edit by hand.
import 'package:casama_api/casama_api.dart';
/// The generated client; most apps use package:casama_sdk, which adds auth and run streams.
Future<void> main() async {
final api = CasamaApi(basePathOverride: 'http://localhost:8787');
final health = await api.getSystemApi().getConfig();
print(health.data?.productName);
}