toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (componentStates != null) 'componentStates': componentStates!,
      if (policyContentState != null)
        'policyContentState': policyContentState!,
      if (state != null) 'state': state!,
    };