toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (arrayElementType != null) 'arrayElementType': arrayElementType!,
      if (rangeElementType != null) 'rangeElementType': rangeElementType!,
      if (structType != null) 'structType': structType!,
      if (typeKind != null) 'typeKind': typeKind!,
    };