generateOBJ<T> static method

dynamic generateOBJ<T>(
  1. dynamic json
)

Implementation

static dynamic generateOBJ<T>(json) {
  if (json == null) {
    return null;
  } else {
    return json as T;
  }
}