prepareInput static method

Future<String> prepareInput(
  1. MergeInput input
)

Process a MergeInput and return a valid file path or blob URL.

Implementation

static Future<String> prepareInput(MergeInput input) async {
  switch (input.type) {
    case MergeInputType.path:
      return input.path!;
    case MergeInputType.bytes:
      return createBlobUrl(input.bytes!);
  }
}