createFaceMessage method Null safety

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createFaceMessage(
  1. {required int index,
  2. required String data}
)

Create emoticon message index Emoji index data Custom data Note:

The SDK does not provide emoji packs. If developers have emoji packs, they can use index to store the index of the emoji in the emoji pack, or use data to store the string key of the emoji mapping. These are all user-defined, and only transparent transmission is performed inside the SDK. . 

Implementation

/// Note:
/// ```
/// SDK does not provide emoticons, If the developer has an emoji package, he can use index to store the index of the emoji in the emoji package, or use data to store the string key of the emoji mapping. These are all user-defined, and only transparent transmission is performed inside the SDK. 
/// ```
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createFaceMessage({
 required int index,
 required String data,
}) async {
 return ImFlutterPlatform .instance.createFaceMessage(
 index: index,
 data: data,
 );
}