InvideoBranding.fromJson constructor

InvideoBranding.fromJson(
  1. Map json_
)

Implementation

InvideoBranding.fromJson(core.Map json_)
    : this(
        imageBytes: json_.containsKey('imageBytes')
            ? json_['imageBytes'] as core.String
            : null,
        imageUrl: json_.containsKey('imageUrl')
            ? json_['imageUrl'] as core.String
            : null,
        position: json_.containsKey('position')
            ? InvideoPosition.fromJson(
                json_['position'] as core.Map<core.String, core.dynamic>)
            : null,
        targetChannelId: json_.containsKey('targetChannelId')
            ? json_['targetChannelId'] as core.String
            : null,
        timing: json_.containsKey('timing')
            ? InvideoTiming.fromJson(
                json_['timing'] as core.Map<core.String, core.dynamic>)
            : null,
      );