getInboxMessageForId method Null safety

Future<Map<String, dynamic>> getInboxMessageForId(
  1. String messageId
)

Returns a json string representation of CTInboxMessage for given messageId

Implementation

static Future<Map<String, dynamic>> getInboxMessageForId(
    String messageId) async {
  Map<dynamic, dynamic> response = await _channel
      .invokeMethod('getInboxMessageForId', {'messageId': messageId});
  return response.cast<String, dynamic>();
}