toJson method

Map<String, dynamic> toJson()

Implementation

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