PrimaryStep.fromJson constructor

PrimaryStep.fromJson(
  1. Map _json
)

Implementation

PrimaryStep.fromJson(core.Map _json)
    : this(
        individualOutcome: _json.containsKey('individualOutcome')
            ? (_json['individualOutcome'] as core.List)
                .map((value) => IndividualOutcome.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        rollUp: _json.containsKey('rollUp')
            ? _json['rollUp'] as core.String
            : null,
      );