startContactChat method Null safety

void startContactChat(
  1. BuildContext context,
  2. String cid,
  3. String title
)

Implementation

static void startContactChat(BuildContext context, String cid, String title) {
  Navigator.of(context).push(new MaterialPageRoute(builder: (context) {
    return new ChatIMProvider(
      // cid: cid,
      title: title,
    );
  }));
}