t×tecexpressby TeKOcloud
DEv0.7.1
API & types / FLUTTER

txValidateKey.

Validates a key; types other than String and int throw ArgumentError.

Parameter key is Object. Success returns void; types other than String/int throw ArgumentError.

dart
void txValidateKey(Object key)
dart
import 'package:tecexpress/tecexpress.dart';

Future<void> example() async {
  txValidateKey('id-1'); // valid
}