toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (booleanArray != null) 'booleanArray': booleanArray!,
      if (booleanValue != null) 'booleanValue': booleanValue!,
      if (doubleArray != null) 'doubleArray': doubleArray!,
      if (doubleValue != null) 'doubleValue': doubleValue!,
      if (intArray != null) 'intArray': intArray!,
      if (intValue != null) 'intValue': intValue!,
      if (protoArray != null) 'protoArray': protoArray!,
      if (protoValue != null) 'protoValue': protoValue!,
      if (serializedObjectValue != null)
        'serializedObjectValue': serializedObjectValue!,
      if (stringArray != null) 'stringArray': stringArray!,
      if (stringValue != null) 'stringValue': stringValue!,
    };