getSnapshotsByAssetId method

Future<MixinResponse<List<Snapshot>>> getSnapshotsByAssetId(
  1. String id, {
  2. String? offset,
  3. int limit = 30,
})

Implementation

Future<MixinResponse<List<Snapshot>>> getSnapshotsByAssetId(String id,
        {String? offset, int limit = 30}) =>
    MixinResponse.requestList(
      dio.get('/assets/$id/snapshots', queryParameters: <String, dynamic>{
        'offset': offset,
        'limit': limit,
      }),
      Snapshot.fromJson,
    );