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.
21 lines
348 B
21 lines
348 B
|
|
|
|
|
|
import 'package:flutter/services.dart'; |
|
|
|
class Bridge { |
|
|
|
static const MethodChannel _channel1 = const MethodChannel('bridge'); |
|
|
|
static Future<String> getStartIntent() async { |
|
return await _channel1.invokeMethod('action'); |
|
} |
|
|
|
static Future<String> toAppStore() async { |
|
return await _channel1.invokeMethod('toAppStore'); |
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|