get static method

Future<TestSection> get(
  1. int sectionId
)

Implementation

static Future<TestSection> get(int sectionId) async {
  final response = await FlutterTestRail.instance.client
      .request('/get_section/$sectionId', RequestMethod.get);
  return TestSection.fromJson(response!);
}