JsonKey constructor

const JsonKey(
  1. String key
)

An annotation to tell drift how the name of a column should appear in generated json. See the documentation for JsonKey for details.

Implementation

const JsonKey(this.key);