principal static method

Tuple2<String, String> principal([
  1. bool nullable = false
])

Implementation

static Tuple2<String, String> principal([bool nullable = false]) {
  // String s;
  String d;
  if (nullable) {
    // s = "$ph?.toJson()";
    d = '$ph == null ? null : Principal.from($ph)';
  } else {
    // s = "$ph.toJson()";
    d = 'Principal.from($ph)';
  }
  return Tuple2(ph, d);
}