getBoxFrames method

Future<List<InspectorFrame>> getBoxFrames(
  1. String name
)

Implementation

Future<List<InspectorFrame>> getBoxFrames(String name) async {
  final response = await _call(
    ConnectAction.getBoxFrames,
    param: {'name': name},
  );
  if (response == null) return [];

  return (response as List).map((e) => InspectorFrame.fromJson(e)).map((
    frame,
  ) {
    return frame.copyWith(value: _readValue(frame.value));
  }).toList();
}