name method

String name()

Implementation

String name() {
  switch (this) {
    case TinkRenderMode.editor:
      return 'editor';
    case TinkRenderMode.preview:
      return 'preview';
    case TinkRenderMode.runtime:
      return 'runtime';
  }
}