startChatThreadIM method Null safety

void startChatThreadIM(
  1. BuildContext context,
  2. Thread thread
)

Implementation

static void startChatThreadIM(BuildContext context, Thread thread) {
  Navigator.of(context).push(new MaterialPageRoute(builder: (context) {
    return new ChatIMProvider(
      thread: thread,
      isThread: true,
    );
  }));
}