$PerformanceGoal.fromJson constructor

$PerformanceGoal.fromJson(
  1. Map json_
)

Implementation

$PerformanceGoal.fromJson(core.Map json_)
    : this(
        performanceGoalAmountMicros:
            json_.containsKey('performanceGoalAmountMicros')
                ? json_['performanceGoalAmountMicros'] as core.String
                : null,
        performanceGoalPercentageMicros:
            json_.containsKey('performanceGoalPercentageMicros')
                ? json_['performanceGoalPercentageMicros'] as core.String
                : null,
        performanceGoalString: json_.containsKey('performanceGoalString')
            ? json_['performanceGoalString'] as core.String
            : null,
        performanceGoalType: json_.containsKey('performanceGoalType')
            ? json_['performanceGoalType'] as core.String
            : null,
      );