Note.fromJson constructor

Note.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Note.fromJson(Map<String, dynamic> json) =>
    Note((json['note'] as String?) ?? '');