You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
310 B
14 lines
310 B
3 years ago
|
|
||
|
import 'dart:async';
|
||
|
|
||
|
import 'package:flutter/services.dart';
|
||
|
|
||
|
class DjPrinter {
|
||
|
static const MethodChannel _channel = MethodChannel('dj_printer');
|
||
|
|
||
|
static Future<String?> get platformVersion async {
|
||
|
final String? version = await _channel.invokeMethod('getPlatformVersion');
|
||
|
return version;
|
||
|
}
|
||
|
}
|