line method

  1. @override
Future<String?> line(
  1. String? type
)
override

Print a line with an optional type (e.g., dashed, solid).

Implementation

@override
Future<String?> line(String? type) async {
  return await methodChannel
      .invokeMethod<String>('printLine', {'data': type});
}