Action.fromJson constructor
Implementation
factory Action.fromJson(Map<String, dynamic> json) {
return Action(
id: json['id'] as String,
amount: json['amount'] as int,
text: json['text'] as String?,
html: json['html'] as String?,
);
}