toMap method

Map<String, dynamic> toMap()

Map representation of object (not serialized)

Implementation

Map<String, dynamic> toMap() {
  return {
    'id': id,
    'choices': choices,
    'created': created,
    'model': model,
    'service_tier': serviceTier,
    'system_fingerprint': systemFingerprint,
    'object': object,
    'usage': usage,
  };
}