soclly_lens_validator

Creator: coderz1093

Last updated:

0 purchases

soclly_lens_validator Image
soclly_lens_validator Images

Languages

Categories

Add to Cart

Description:

soclly lens validator

Soclly Lens Validator #
The Soclly Lens Validator is a Flutter package designed to validate various types of data against predefined protocols. It offers validation for text, image, audio, and video data.
Installation #
To use the Soclly Lens Validator package, add it as a dependency in your pubspec.yaml file:
dependencies:
soclly_lens_validator: ^4.0.0

# Soclly Lens Validator

The Soclly Lens Validator is a Flutter package designed to validate various types of data against predefined protocols. It offers validation for text, image, audio, and video data.

## Installation

To use the Soclly Lens Validator package, add it as a dependency in your `pubspec.yaml` file:

```yaml
dependencies:
soclly_lens_validator: ^4.0.0

import 'package:soclly_lens_validator/soclly_lens_validator.dart';

void main() {
// Example usage of text validation
validateTextOnly(jsonString: '{"text": "Hello, world!"}').then((result) {
print('Text Validation Result: $result');
}).catchError((error) {
print('Text Validation Error: $error');
});

// Example usage of image validation
validateImage(jsonString: '{"image": "base64_encoded_image_data"}').then((result) {
print('Image Validation Result: $result');
}).catchError((error) {
print('Image Validation Error: $error');
});

// Example usage of audio validation
validateAudio(jsonString: '{"audio": "base64_encoded_audio_data"}').then((result) {
print('Audio Validation Result: $result');
}).catchError((error) {
print('Audio Validation Error: $error');
});

// Example usage of video validation
validateVideo(jsonString: '{"video": "base64_encoded_video_data"}').then((result) {
print('Video Validation Result: $result');
}).catchError((error) {
print('Video Validation Error: $error');
});
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.