getObjectFields method

  1. @override
List<String> getObjectFields()

Returns the names of the fields of this class.

This method should be overwritten if you want to explicitly define the JSON fields.

Bu default it uses getObjectFieldsDefault implementation.

Implementation

@override
List<String> getObjectFields() {
  return ['storeTime', 'value'];
}