Future<Null> pop()

Instructs the system navigator to remove this activity from the stack and return to the previous activity.

Platform Specific Notes:

On iOS, this is a no-op because Apple's human interface guidelines state that applications should not exit themselves.

Source

static Future<Null> pop() async {
  await PlatformMessages.invokeMethod('flutter/platform', 'SystemNavigator.pop');
}