VideoOffset.fromJson constructor

VideoOffset.fromJson(
  1. Map json_
)

Implementation

VideoOffset.fromJson(core.Map json_)
    : this(
        offsetPercentage: json_.containsKey('offsetPercentage')
            ? json_['offsetPercentage'] as core.int
            : null,
        offsetSeconds: json_.containsKey('offsetSeconds')
            ? json_['offsetSeconds'] as core.int
            : null,
      );