firstExample method

Future<Map<String, dynamic>> firstExample(
  1. Map<String, dynamic> example
)

Implementation

Future<Map<String, dynamic>> firstExample(
  Map<String, dynamic> example,
) async {
  final resp = await _connection.request(
    method: 'PUT',
    path: '/_api/simple/first-example',
    body: {'example': example, 'collection': name},
  );
  return resp.body['document'];
}