TimeBasedLinear.fromJson constructor

TimeBasedLinear.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TimeBasedLinear.fromJson(Map<String, dynamic> json) {
  return TimeBasedLinear(
    linearInterval: json['linearInterval'] as int?,
    linearPercentage: json['linearPercentage'] as int?,
  );
}