Task.fromJson constructor
Task.fromJson(
- Map json_
Implementation
Task.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
status: json_.containsKey('status')
? TaskStatus.fromJson(
json_['status'] as core.Map<core.String, core.dynamic>)
: null,
);