toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (errors != null)
        'errors': errors!.map((value) => value.toJson()).toList(),
      if (kind != null) 'kind': kind!,
      if (warnings != null)
        'warnings': warnings!.map((value) => value.toJson()).toList(),
    };