toJson method

Map<String, dynamic> toJson()

Implementation

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