CopyTextButton.fromJson constructor

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

Creates the CopyTextButton from JSON map

Implementation

factory CopyTextButton.fromJson(Map<String, dynamic> json) {
  return CopyTextButton(text: json['text']);
}