Rotation.fromJson constructor

Rotation.fromJson(
  1. Map json_
)

Implementation

Rotation.fromJson(core.Map json_)
    : this(
        nextRotationTime: json_.containsKey('nextRotationTime')
            ? json_['nextRotationTime'] as core.String
            : null,
        rotationPeriod: json_.containsKey('rotationPeriod')
            ? json_['rotationPeriod'] as core.String
            : null,
      );