Note.fromJson constructor

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

Implementation

factory Note.fromJson(Map<String, dynamic> json) {
  return Note(
    text: json['Text'] as String,
    updatedAt: json['UpdatedAt'] as String,
    updatedBy: json['UpdatedBy'] as String,
  );
}