rpmtw_api_client 1.0.4+2 rpmtw_api_client: ^1.0.4+2 copied to clipboard
A starting point for Dart libraries or applications.
RPMTW API Client (Dart) #
Example #
import 'package:rpmtw_api_client/rpmtw_api_client.dart';
void main() async {
RPMTWApiClient.init(development: true); // Initialize RPMTW API Client
RPMTWApiClient apiClient = RPMTWApiClient.lastInstance;
print(apiClient.baseUrl);
PasswordValidatedResult result =
await apiClient.authResource.validPassword("12345"); // Valid password
print(result.message);
}