getVideo method

Future<Video?> getVideo({
  1. int? id,
})

Implementation

Future<Video?> getVideo({int? id}) async =>
    (id == null) ? _getVideoRandom() : _getVideoFromID(id);