init
This commit is contained in:
parent
9f81d2227e
commit
40f758eb63
@ -117,14 +117,14 @@ class MessageManager {
|
||||
|
||||
Future<Message> createTextAtMessage({
|
||||
required String text,
|
||||
required List<String> atUserList,
|
||||
required List<String> atUidList,
|
||||
}) {
|
||||
return _channel
|
||||
.invokeMethod(
|
||||
'createTextAtMessage',
|
||||
_buildParam({
|
||||
'text': text,
|
||||
'atUserList': atUserList,
|
||||
'atUserList': atUidList,
|
||||
}),
|
||||
)
|
||||
.then((value) => _toObj(value));
|
||||
|
@ -1,5 +1,7 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
|
||||
|
||||
void main() {
|
||||
/* const MethodChannel channel = MethodChannel('flutter_openim_sdk');
|
||||
|
||||
@ -35,8 +37,8 @@ void main() {
|
||||
// print('====$match ${m.start} ${m.end}');
|
||||
// }
|
||||
|
||||
DateTime now = DateTime.now();
|
||||
print('${now.millisecond}');
|
||||
print('${now.microsecondsSinceEpoch}');
|
||||
print('${now.millisecondsSinceEpoch}');
|
||||
// DateTime now = DateTime.now();
|
||||
// print('${now.millisecond}');
|
||||
// print('${now.microsecondsSinceEpoch}');
|
||||
// print('${now.millisecondsSinceEpoch}');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user