toJson method

Map<String, Object?> toJson()

Encodes this field in the native protocol JSON form.

Implementation

Map<String, Object?> toJson() => {'name': name, 'dtype': dtype.toJson()};