updateState method

void updateState(
  1. Map<String, dynamic> newJson
)

Implementation

void updateState(Map<String, dynamic> newJson) {
  setState(() {
    json = newJson;
  });
}