AndroidInfo constructor

AndroidInfo({
  1. required String applicationId,
  2. required List<String> sha256,
})

Android-specific data

Implementation

AndroidInfo({required this.applicationId, required this.sha256}) {
  if (applicationId.trim().isEmpty) throw Exception('applicationId required');
  for (final key in sha256) {
    if (!AppUtils().isValidSHA256(key)) {
      throw Exception('Invalid SHA-256 key: $key');
    }
  }
}