fromJson static method

DataField? fromJson(
  1. dynamic jsonObject
)

Implementation

static DataField? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new DataField();

  result.data = jsonObject["data"];
  result.fieldType = jsonObject["fieldType"];

  return result;
}