user_agent_mock 0.1.0 user_agent_mock: ^0.1.0 copied to clipboard
A library to mock any common userAgents.
example/user_agent_mock_example.dart
import 'package:user_agent_mock/user_agent_mock.dart';
void main() {
final userAgent = UserAgent();
print(userAgent.build());
userAgent.system(UASystem.android);
print(userAgent.build());
userAgent.browser(UABrowser.safari);
print(userAgent.build());
}