platforms static method

Future<List<Platform>> platforms()

check for platform error

Implementation

static Future<List<Platform>> platforms() async {
  return await loadPlatform();
}