string constructor

string(
  1. dynamic value
)

Implementation

string(dynamic value) {
  if (value is String)
    this.value = value;
  else
    this.value = value;
}