fromJSON method

  1. @override
void fromJSON(
  1. dynamic json
)
override

Implementation

@override
void fromJSON(json) {
  if (json != null) {
    _value = DateTime.parse(json as String);
  }
}